package com.rfy.novel;

import com.rfy.framework.util.SpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author zhang
 */
@SpringBootApplication
@EnableEurekaClient
public class NovelServiceApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(NovelServiceApplication.class, args);
        SpringUtil.setApplicationContext(applicationContext);
    }

}
